package com.liyao.storehouse.pojo.intelligence;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import com.alibaba.excel.enums.poi.BorderStyleEnum;
import lombok.Data;

@Data
@HeadRowHeight(30)
@HeadFontStyle(color=1,fontName = "等线")
@HeadStyle(fillForegroundColor = 30)
@ContentStyle(borderLeft = BorderStyleEnum.THIN,borderTop = BorderStyleEnum.THIN,borderRight = BorderStyleEnum.THIN,borderBottom = BorderStyleEnum.THIN)
@ContentRowHeight(20)
@ContentFontStyle(fontHeightInPoints = 12)
public class receiveLogExcel {
    @ExcelProperty("领用人")
    @ColumnWidth(20)
    private String username;
    @ExcelProperty("设备号")
    @ColumnWidth(20)
    private String deviceId;
    @ExcelProperty("库位")
    @ColumnWidth(20)
    private String location;
    @ExcelProperty("商品名称")
    @ColumnWidth(20)
    private String partDes;
    @ExcelProperty("数量")
    @ColumnWidth(20)
    private int quantity;
    @ExcelProperty("领用时间")
    @ColumnWidth(30)
    private String createdAt;

}
